<!DOCTYPE html>
<html>
<meta charset="UTF-8">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="../static/jquery-3.3.1.min.js"></script>
<body>

<h1>操作radio</h1>
<input type="radio" name="gender" value="1">男
<input type="radio" name="gender" id="girlId" value="0">女
<p id="demo">我的第一个段落</p>
<script>
	$(function() {
		$("[name=gender][value='0']").prop("checked",true);
	});
</script>
</body>
</html>